package com.webbei.product.action;

import com.webbei.product.service.ProductService;

public class GetDefaultCarMark {
	private String seriesName;
	private String typesPic;
	private ProductService ps;
	public String execute(){
		System.out.println(seriesName);
		typesPic = ps.getTypesPicByName(seriesName);
		return "success";
	}
	
	public String getSeriesName() {
		return seriesName;
	}

	public void setSeriesName(String seriesName) {
		this.seriesName = seriesName;
	}

	public String getTypesPic() {
		return typesPic;
	}
	public void setTypesPic(String typesPic) {
		this.typesPic = typesPic;
	}
	public void setPs(ProductService ps) {
		this.ps = ps;
	}
}
